namespace Forging2.DataBase.ZH_IMES
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class uex_daq_info
    {
        [Key]
        [StringLength(50)]
        public string GID { get; set; }

        [StringLength(50)]
        public string CODE { get; set; }

        [StringLength(50)]
        public string ORDER_CODE { get; set; }

        [StringLength(50)]
        public string PRODU_CODE { get; set; }

        [StringLength(100)]
        public string PRODU_NAME { get; set; }

        [StringLength(50)]
        public string WORK_ORDER_CODE { get; set; }

        [StringLength(50)]
        public string LOT_CODE { get; set; }

        [StringLength(50)]
        public string MRL_CODE { get; set; }

        public int? SEQUENCE_NUM { get; set; }

        [StringLength(50)]
        public string DAQ_GID { get; set; }

        [StringLength(100)]
        public string DAQ_NAME { get; set; }

        public DateTime? DAQ_DATE { get; set; }

        [StringLength(50)]
        public string DAQ_ID { get; set; }

        public int? DAQ_SRC_TYPE { get; set; }

        public DateTime? REPAIR_DAQ_DATE { get; set; }

        [StringLength(50)]
        public string STATION { get; set; }

        [StringLength(50)]
        public string WORK_CENTER_GID { get; set; }

        [StringLength(1)]
        public string ISERP { get; set; }

        [StringLength(1)]
        public string ERP_STATE { get; set; }

        [StringLength(50)]
        public string VTRACK_GID { get; set; }

        [StringLength(50)]
        public string OP_GID { get; set; }

        public int? OP_SEQ { get; set; }

        [StringLength(50)]
        public string OP_STEP_GID { get; set; }

        public int? EFFECTIVE_QTY { get; set; }

        public int? UNEFFECTIVE_QTY { get; set; }

        public int? DISCARD_QTY { get; set; }

        public int? OPERATE_SOURCE { get; set; }

        public int? OPERATE_TYPE { get; set; }

        public int? WORK_DATE { get; set; }

        [StringLength(50)]
        public string STOP_REASON_CODE { get; set; }

        [StringLength(50)]
        public string LABOUR_GROUP_GID { get; set; }

        public int CONTROL_FLAG { get; set; }

        [StringLength(200)]
        public string REMARK { get; set; }

        [Column(TypeName = "timestamp")]
        [DatabaseGenerated(DatabaseGeneratedOption.Computed)]
        [MaxLength(8)]
        public byte[] MARK_TIME { get; set; }

        public int? IS_FREEZE { get; set; }

        [StringLength(50)]
        public string PARENT_GID { get; set; }

        [StringLength(50)]
        public string UQCM_DAQ_INFO_GID { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime CREATE_DATE { get; set; }

        [Required]
        [StringLength(32)]
        public string CREATE_ID { get; set; }

        [StringLength(32)]
        public string MODIFY_ID { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime? MODIFY_DATE { get; set; }

        public int IS_ACTIVE { get; set; }

        public int IS_DELETE { get; set; }

        [StringLength(32)]
        public string SITE { get; set; }

        [StringLength(50)]
        public string UDA1 { get; set; }

        [StringLength(50)]
        public string UDA2 { get; set; }

        [StringLength(50)]
        public string UDA3 { get; set; }

        [StringLength(50)]
        public string UDA4 { get; set; }

        [StringLength(50)]
        public string UDA5 { get; set; }

        [StringLength(100)]
        public string UDA1C { get; set; }

        [StringLength(100)]
        public string UDA1N { get; set; }

        [StringLength(100)]
        public string UDA2C { get; set; }

        [StringLength(100)]
        public string UDA2N { get; set; }

        [StringLength(100)]
        public string UDA3C { get; set; }

        [StringLength(100)]
        public string UDA3N { get; set; }

        [StringLength(100)]
        public string UDA4C { get; set; }

        [StringLength(100)]
        public string UDA4N { get; set; }

        [StringLength(100)]
        public string UDA5C { get; set; }

        [StringLength(100)]
        public string UDA5N { get; set; }
    }
}
